import request from "@/utils/request";

export function addCulture(data) {
    return request({
        url: '/front/culture/declare/add',
        method: 'POST',
        data: data
    })
}

export function queryCulture({name, description, categoryId}) {
    return request({
        url: '/front/culture/declare',
        method: 'GET',
        params: {
            name, description, categoryId
        }
    })
}

export function queryCultureCategory() {
    return request({
        url: '/front/culture/declare/category',
        method: 'GET'
    })
}
